import axios from "axios";

export const fetchDepartmentLeaders = async (depId: number) => {
    return axios.get('https://localhost:7174/api/Message/GetDepHeads/GetDepHeads', {
        params: {
            depId: depId
        }
    })
    
}

export default fetchDepartmentLeaders